package com.nzy.tree;

import java.io.Serializable;

/**
 * 角色权限按钮Vo
 *
 * @author ningzhaoyun
 */
public class RolePermissionButtonVo implements Serializable {

    private static final long serialVersionUID = 8721999684022444957L;

    /**
     * 权限id
     */
    private Long id;

    /**
     * 标识
     */
    private String key;

    /**
     * name
     */
    private String name;

    /**
     * 是否有权限 0-无 1-有
     */
    private Integer havePermissionId;

    /**
     * 顺序
     */
    private Integer index;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getHavePermissionId() {
        return havePermissionId;
    }

    public void setHavePermissionId(Integer havePermissionId) {
        this.havePermissionId = havePermissionId;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}
